mainApp.service('agentService', ['$resource',function ($resource){
    //我的优惠券
     this.getAgentByUser = function(success, error) {
    	return $resource(baseUrl + "/mapi/agent/getAgentByUser").get(success, error);
    }
}]);

